package com.yjz.jvm.javaclone;

/**
 * @author :yuanJinZhong
 * @description:轮子
 * @date :2018/5/18-14:29
 */
public class Wheel implements Cloneable {

  private String wheelName;

  public String getWheelName() {
    return wheelName;
  }

  public void setWheelName(String wheelName) {
    this.wheelName = wheelName;
  }

  public Wheel(String wheelName) {
    this.wheelName = wheelName;
  }

  @Override
  protected Object clone() throws CloneNotSupportedException {
    return (Object) new Wheel("张三");
  }
}
